//package com.whfp.coky.manager
//
//import com.scwang.smart.refresh.layout.SmartRefreshLayout
//import com.scwang.smart.refresh.layout.api.RefreshLayout
//import com.scwang.smart.refresh.layout.listener.OnRefreshLoadMoreListener
//import com.whfp.coky.other.Constants
//
///**
// *
// *
// * created by coky on 2022/3/23
// */
//class RefreshManager(val refreshView : SmartRefreshLayout) {
//    init {
//        refreshView. setOnRefreshLoadMoreListener(object : OnRefreshLoadMoreListener {
//            override fun onRefresh(refreshLayout: RefreshLayout) {
//                page = Constants.PAGE_INDEX
//                islastPage = false
//                onRefresh()
//            }
//
//            override fun onLoadMore(refreshLayout: RefreshLayout) {
//
//                vModel.onLoadMore()
//            }
//        })
//    }
//
//    fun onRefresh()
//
//    fun onLoadMore()
//
//}